package com.liuzu.esys.mapper;

import com.liuzu.esys.pojo.Settlement;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SettlementMapper {

    List<Settlement> selectByParams(Map<String, Object> params);

    int addSettlement(Settlement settlement);

    int updateSettlementByKey(Settlement settlement);

    int deleteSettlementByKey(Integer order_number);

    int deleteSettlementsByKey(@Param("order_numbers") String[] order_numbers);

    List<Settlement> selectByKey(Settlement settlement);
}
